{% set PRO_NAME = pillar['pro_name'] %}
{% set APP_NAME = pillar.get('app_name') %}
{% set COMMIT = pillar['commit'] %}
{% set BACKUP_DIR =  pillar['backup_dir'] %}

config_check:
  cmd.run:
    - name: echo "This is a check add later"
    - onlyif: test -f {{BACKUP_DIR}}/{{APP_NAME}}/{{COMMIT}}/conf/bootstrap.properties
